#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :Today_Before_45.py
# @Time      :2020/6/24 9:57
# @Author    :Administrator
import datetime

nowTime = datetime.datetime.now()
distanceDay = datetime.timedelta(days=2)
beforeDay = nowTime-distanceDay
print(beforeDay.strftime('%Y-%m-%d %H:%M:%S'))
